vr2-3-39.wrl
[ VRML source code ]
#VRML V2.0 utf8
#vr2-3-39.wrl
Shape {
geometry IndexedFaceSet {
coord Coordinate {
point [
0 0 0,
1 0 0,
0.5 0 -0.5,
0 0.5 0,
1 0.5 0,
0.5 0.5 -0.5
]
}
coordIndex [
0, 1, 4, 3, -1,
1, 2, 5, 4, -1,
2, 0, 3, 5, -1
]
color Color {
color [
1 0 0, # color 0
0 1 0, # color 1
0 0 1, # color 2
]
}
colorPerVertex TRUE
normal Normal {
vector [
-1 0 1,
1 0 1,
0 0 -1,
-1 0 1,
1 0 1,
0 0 -1
]
}
normalIndex [
0, 1, 1, 0, -1,
1, 2, 2, 1, -1,
2, 3, 3, 2, -1
]
normalPerVertex TRUE
solid FALSE
creaseAngle 0.8
}
}